package JieKou;

import javax.naming.Name;

public class T001 {
    public void shuchu(Dive dive){
        dive.dive();
    }
    public void shuchu1(Shoot shoot){
        shoot.shoot();
    }
    public void shuchu2(Sprint sprint){
        sprint.sprint();
    }
    public static void main(String[]args){
        T001 t001=new T001();
       AlmightyAthlete almightyAthlete= new AlmightyAthlete("张三",2);
       almightyAthlete.dive();
       almightyAthlete.shoot();
       almightyAthlete.sprint();
       DiveAthlete diveAthlete=new DiveAthlete("李四",23);
       diveAthlete.dive();
       ShootAthlete shootAthlete=new ShootAthlete("王五",25);
       shootAthlete.shoot();
       SprintAthlete sprintAthlete=new SprintAthlete("李三",24);
       sprintAthlete.sprint();





    }
}
